$(".index-box li").mouseenter(function(){
	$(this).children("span").animate({
		"height":"40px",
	},500);
	$(this).children("div:even").animate({
		"width":"100%",
	},500).css("background","#00a2ca");
	$(this).children("div:odd").animate({
		"height":"100%",
	},500).css("background","#00a2ca");
});

$(".index-box li").mouseleave(function(){
	$(this).children("span").animate({
		"height":"0px"
	});
	$(this).children("div:even").animate({
		"width":"0%",
	},500).css("background","#00a2ca");
	$(this).children("div:odd").animate({
		"height":"0%",
	},500).css("background","#00a2ca");

});


$(function(){
	var $regularlyItems=$(".regularly-item-list li");
	$regularlyItems.each(function(){
		var _$this=$(this);
		_$this.children(".flip-box").eq(0).addClass("out").removeClass("in");
	    setTimeout(function() {
	    	_$this.find(".flip-box").show().eq(1).addClass("in").removeClass("out");
	    	_$this.children(".flip-box").eq(0).hide();
	    }, 225);
	});
	$regularlyItems.hover(function(){
		var _$this=$(this);
	    _$this.children(".flip-box").eq(1).addClass("out").removeClass("in");
	    setTimeout(function() {
	    	_$this.find(".flip-box").show().eq(0).addClass("in").removeClass("out");
	    	_$this.children(".flip-box").eq(1).hide();
	    }, 225);
	},function(){
		var _$this=$(this);
		_$this.children(".flip-box").eq(0).addClass("out").removeClass("in");
	    setTimeout(function() {
	    	_$this.find(".flip-box").show().eq(1).addClass("in").removeClass("out");
	    	_$this.children(".flip-box").eq(0).hide();
	    }, 225);
	});
});
